package cn.com.surker.pages.console;

import cn.com.surker.common.AbstractController;
import cn.com.surker.system.entity.SysUser;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @Author lucky
 * @create 2024年07月03 8:09
 * @desc
 */
@Slf4j
@Controller
@RequestMapping("/console/panel")
public class PanelIndexController extends AbstractController {


    /**
     * PC端首页面板
     * @return
     */
    @RequestMapping("/sale")
    public ModelAndView sale() {
        ModelAndView modelAndView = new ModelAndView();

        SysUser user = getUser();

        modelAndView.setViewName("console/system/sale-panel");
        return modelAndView;
    }

    /**
     * PC端首页面板
     * @return
     */
    @RequestMapping("/production")
    public ModelAndView production() {
        ModelAndView modelAndView = new ModelAndView();


        modelAndView.setViewName("console/system/production-panel");
        return modelAndView;
    }

}
